package com.lgh.springframework.aop;

import org.aopalliance.aop.Advice;

/**
 * ******************************************************
 *
 * @author liugh9
 * @version 1.0
 * @classname Advisor
 * @description
 * @date 2023/03/07 20:43
 * <p>
 * ******************************************************
 */
public interface Advisor {
    /**
     * Return the advice part of this aspect. An advice may be an
     * interceptor, a before advice, a throws advice, etc.
     * @return the advice that should apply if the pointcut matches
     * @see org.aopalliance.intercept.MethodInterceptor
     * @see BeforeAdvice
     */
    Advice getAdvice();

}
